package main.flex.value.calendar
{
	import org.servebox.foundry.value.AbstractValueObject;
	
	[RemoteClass(alias="value.calendar.CalendarBaseEventVO")]
	public class CalendarBaseEventVO extends AbstractValueObject
	{
		private var _id 				: int;
		private var _comment			: String;
		private var _startDate			: Date;
		private var _endDate			: Date;
		private var _type				: String;
		private var _isAppointment		: Boolean = false;
		private var _location			: String;

		/* -------------------------------------------------------------------------- */
		/* GETTER & SETTER */
		/* -------------------------------------------------------------------------- */
		
		public function get id ( ) : int
		{
			return _id;
		}
		
		public function set id ( val : int ) : void
		{
			_id = val;
		}
		
		public function get comment ( ) : String
		{
			return _comment;
		}
		
		public function set comment ( val : String ) : void
		{
			_comment = val;
		}
		
		public function get startDate ( ) : Date
		{
			return _startDate;
		}
		
		public function set startDate ( val : Date ) : void
		{
			_startDate = val;
		}
		
		public function get endDate ( ) : Date
		{
			return _endDate;
		}
		
		public function set endDate ( val : Date ) : void
		{
			_endDate = val;
		}
		
		public function get type ( ) : String
		{
			return _type;
		}
		
		public function set type ( val : String ) : void
		{
			_type = val;
		}
		
		public function get isAppointment ( ) : Boolean
		{
			return _isAppointment;
		}
		
		public function set isAppointment ( val : Boolean ) : void
		{
			_isAppointment = val;
		}
		
		/**
		 * @return the location
		 */
		public function get location() : String
		{
			 return _location;
		}
		
		public function set location( value : String ) : void
		{
			_location = value;
		}
	}
}